package com.migo.dao;

import com.migo.entity.UserEntity;

import java.util.Map;

/**
 * 用户
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2018-10-29 14:29:47
 */
public interface UserDao extends BaseDao<UserEntity> {


    UserEntity phoneLogin(Map<String, String> map);


    UserEntity emailLogin(Map<String, String> map);

    void modiyPassword(String userId,String newPassword);


    UserEntity queryUser(String userId);

    UserEntity queryUserExist(Map<String, String> map);

    void register(UserEntity user);



}
